package protocol;

import android.util.Log;

public class Print {

	public static void print(String msj) {
		try {
			Class.forName("android.util.Log");
			Log.i("protocolo",msj);
		} catch( ClassNotFoundException e ) {
			System.out.println(msj);
		}
	}
	
	public static void print(String tag, String msj) {
		try {
			Class.forName("android.util.Log");
			Log.i(tag,msj);
		} catch( ClassNotFoundException e ) {
			System.out.println(tag + " -> " + msj);
		}
	}

}
